import java.util.Observable;
import java.util.Observer;


public class Controller implements Observer{
	
	// constructor
	public Controller(Model model, View view) {
		System.out.println("Controller started");
		view.addObserver(this);
		view.showMainView();	
	}

	// observer update to process view messages
	@Override
	public void update(Observable arg0, Object arg1) {
		System.out.println("Controller: Notified to Update: " + arg1);
		
	}

}
